<extend name="./app/Tpl/Public/template.html" />
<block name="content_body">
	<link href="__ROOT__/statics/css/main.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript">
	$(function(){	
		$(".main_con").hover(
				  function () {
				    $(this).css("background","#ffffcc");
				  },
				  function () {
				    $(this).css("background","#ffffff");
				  }
		);
	})
	</script>
	<div style="padding:10px; overflow:hidden;">
		<div class="main_top" style="clear:both;">			
			<if condition="$no_security_info eq 1">
				<h4>安全提示</h4>	
				 <volist name="security_info" id="v">              
						<p class="red" style="font-size:14px;">※　{$v}</p>				
		       	</volist>	
			</if>	
			<h4>网站无法显示</h4>	
			<p class="green">网站以前正常显示，现在无法显示请清除缓存试试，【<a href="{:u('cache/index')}">{$Think.lang.flush_cache}</a>】</p>
			
		</div>
		<div style="width:50%;" class="fl">
			<div class="main_con fl">
				<h6>新订单</h6>
				<div class="content table-list">
					<table width="100%" cellspacing="0">
						<volist name="orderList.1.list" id="val">
						<tr onclick="redirect('{:U('Order/OrderManage/showDetail',array('order_code'=>$val['order_code']))}')">
							<td>{$val.order_code}</td>
							<td>{$val.cust_order_time|date="H:i:s",###}</td>
							<td>{$val.cust_address}</td>
						</tr>
						</volist>
					</table>			
					<div class="hr"></div>				
					<p class="page">{$orderList.1.page}</p>
				</div>
			</div>		
			<div class="main_con fl">
				<h6>配货中</h6>
				<div class="content table-list">
					<table width="100%" cellspacing="0">
						<volist name="orderList.2.list" id="val">
						<tr>
							<td>{$val.order_code}</td>
							<td>{$val.cust_order_time|date="H:i:s",###}</td>
							<td>{$val.cust_address}</td>
						</tr>
						</volist>
					</table>			
					<div class="hr"></div>				
					<p class="page">{$orderList.2.page}</p>
				</div>
			</div>
		</div>
		<div style="width:49%;" class="fr">
			<div class="main_con fl">
				<h6>配送中</h6>
				<div class="content table-list">
					<table width="100%" cellspacing="0">
						<volist name="orderList.3.list" id="val">
						<tr>
							<td>{$val.order_code}</td>
							<td>{$val.cust_order_time|date="H:i:s",###}</td>
							<td>{$val.cust_address}</td>
						</tr>
						</volist>
					</table>			
					<div class="hr"></div>				
					<p class="page">{$orderList.3.page}</p>
				</div>
			</div>	
			<div class="main_con fl">
				<h6>已支付</h6>
				<div class="content table-list">
					<table width="100%" cellspacing="0">
						<volist name="orderList.4.list" id="val">
						<tr>
							<td>{$val.order_code}</td>
							<td>{$val.cust_order_time|date="H:i:s",###}</td>
							<td>{$val.cust_address}</td>
						</tr>
						</volist>
					</table>			
					<div class="hr"></div>				
					<p class="page">{$orderList.4.page}</p>
				</div>
			</div>
		</div>
	</div>
</block>